<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Abstract
 *
 * @author Windy
 */
class Rabbit_Db_Table_Abstract extends Zend_Db_Table_Abstract {

    protected $_name = '';
    protected $_prefix = '';
    protected $_lang;

    public function __construct($dbAdapter) {
        parent::__construct($dbAdapter);
        $dbConfig = $dbAdapter->getConfig();
        $this->_prefix = $dbConfig['prefix'];
        $this->_name = $dbConfig['prefix'] . $this->_name;
        
    }

    public function setlang($lang) {
        $this->_lang = $lang;
        return $this;
    }

    //abstract function convert($entity);

    public function getTranslations($item) {
        return null;
    }

}
?>